package com.ruoyi.web.sso.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加盟信息对象 alliance
 * 
 * @author ruoyi
 * @date 2022-01-08
 */
public class Alliance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value="用户ID" )
    private String staffId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value="名称" )
    private String name;

    /** 城市 */
    @Excel(name = "城市")
    @ApiModelProperty(value="城市" )
    private String city;

    /** 预算 */
    @Excel(name = "预算")
    @ApiModelProperty(value="预算" )
    private String budget;

    /** 电话 */
    @Excel(name = "电话")
    @ApiModelProperty(value="电话" )
    private String phone;

    /** 状态（0未加盟 1已加盟） */
    @Excel(name = "状态", readConverterExp = "0=未加盟,1=已加盟")
    @ApiModelProperty(value="状态0=未加盟,1=已加盟" )
    private String states;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private String deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStaffId(String staffId) 
    {
        this.staffId = staffId;
    }

    public String getStaffId() 
    {
        return staffId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setBudget(String budget) 
    {
        this.budget = budget;
    }

    public String getBudget() 
    {
        return budget;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("staffId", getStaffId())
            .append("name", getName())
            .append("city", getCity())
            .append("budget", getBudget())
            .append("phone", getPhone())
            .append("states", getStates())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
